import glob

p = glob.iglob('E:/my-test/model_test/*/*.txt')
print(type(p))
print(p.__next__())
print(p.__next__())
print(p.__next__())